package com.david.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @description: 实体类
 * @create: 2021-04-26-09-48
 * @author: David
 * 企业中的pojo一般都会序列化
 **/
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private String name;

    private String password;

}
